package com.lewis.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.lewis.dao.CourseDAO;
import com.lewis.jpa.entity.Course;
@Component
public class CourseDAOImpl extends AbstractJPADAO<Course> implements CourseDAO {

	
	@Override
	public void createCourse(Course course) {
		save(course);
	}

	@Override
	public void createCourses(List<Course> courses) {
		saveALL(courses);
	}

}
